package com.softlab.retailwholesalesystem.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.softlab.retailwholesalesystem.entity.OrderEntity;
import com.softlab.retailwholesalesystem.entity.PurchaseEntity;
import com.softlab.retailwholesalesystem.mapper.PurchaseMapper;

import java.util.List;

public interface IPurchaseService extends IService<PurchaseEntity> {

    List<PurchaseEntity> searchPurchases(PurchaseEntity purchase);

    void confirm(PurchaseEntity purchase);
}
